package zuoye1;

import java.util.Scanner;

public class Demo4 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入第一个分数：");
        int S1 = input.nextInt();
        System.out.print("请输入第二个分数：");
        int S2 = input.nextInt();
        System.out.print("请输入第三个分数：");
        int S3 = input.nextInt();
        System.out.print("请输入第四个分数：");
        int S4 = input.nextInt();
        System.out.print("请输入第五个分数：");
        int S5 = input.nextInt();

        int Sum = S1 + S2 + S3 + S4 + S5;

        System.out.println("分数和为" + Sum);
    }
}
